package com.synjones.wschool.face.domain;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@AllArgsConstructor

public class FileStorage {
    private Long sid;

    private Long fileSourceId;

    private Integer fileSourceType;

    private String fileType;

    private Long fileSize;

    private String fileName;

    private String url;

    private String property1;

    private String property2;

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public Long getFileSourceId() {
        return fileSourceId;
    }

    public void setFileSourceId(Long fileSourceId) {
        this.fileSourceId = fileSourceId;
    }

    public Integer getFileSourceType() {
        return fileSourceType;
    }

    public void setFileSourceType(Integer fileSourceType) {
        this.fileSourceType = fileSourceType;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getProperty1() {
        return property1;
    }

    public void setProperty1(String property1) {
        this.property1 = property1;
    }

    public String getProperty2() {
        return property2;
    }

    public void setProperty2(String property2) {
        this.property2 = property2;
    }
    public FileStorage(String url, String fileName, Long filezSize, String fileType){
        this.url=url;
        this.fileName=fileName;
        this.fileSize=filezSize;
        this.fileType=fileType;
    }

    public FileStorage(){}

}